$OpenBSD: patch-src_Makefile_in,v 1.3 2017/04/27 20:13:36 naddy Exp $
--- src/Makefile.in.orig	Fri Jun 10 20:22:12 2005
+++ src/Makefile.in	Thu Apr 27 22:08:55 2017
@@ -7,6 +7,7 @@ mandir=@mandir@
 
 CC=@CC@
 CFLAGS= @CFLAGS@
+CPPFLAGS=@CPPFLAGS@
 LDFLAGS=@LDFLAGS@
 LIBS=@LIBS@
 INSTALL=@INSTALL@
@@ -68,7 +69,7 @@ endif
 .PHONY: depend
 depend: .dependencies
 .dependencies: $(DEP_SRC) $(DEP_HEADER)
-	$(CC) $(CFLAGS) -MM $(DEP_SRC) >.dependencies
+	$(CC) $(CPPFLAGS) -MM $(DEP_SRC) >.dependencies
 
 .PHONY: %-clean
 %-clean:
@@ -89,7 +90,7 @@ distclean: clean $(patsubst %,%-distclean,$(SUBDIRS))
 .PHONY: install
 install: $(BINARY)
 	$(INSTALL) -d $(DESTDIR)$(bindir)
-	$(INSTALL) --mode=755 $(BINARY) $(DESTDIR)$(bindir)
+	$(INSTALL) -m 755 $(BINARY) $(DESTDIR)$(bindir)
 
 .PHONY: uninstall
 uninstall:
